package com.lingx.model.impl.api;

import javax.annotation.Resource;

import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;

import com.lingx.model.IScriptApi;
@Component
public class SpringApi implements IScriptApi {
	@Resource
	private ApplicationContext spring;
	@Override
	public String getCode() {
		return "SPRING";
	}

	@Override
	public Object getApi() {
		return spring;
	}

}
